package main

import (
    "fmt"
	"thirdpaysdk/api/chinaums"
	"github.com/astaxie/beego"
	//"io/ioutil"
)

func queryOrder() {
	mid := "898100053992208"   
	tid := "89EP2545" 
	msgSrc := "WWW.BJLXOMSM.COM"
	secreCode := "AhAjyfm4zEJeafHFceKShtJiDjzPEHh2r58W8PM5HA5nnjEB"
	orderId := "550410853770514432"
	rst, err := chinaums.OrderQuery(mid,tid,msgSrc,secreCode,orderId)
	if err != nil {
	   beego.Debug("error:", err.Error())
	   return
	}
	fmt.Println("%+v\n", rst)
}
